#include "shm.hpp"
int main()
{
    //获取共享内存
    Shm shm(".", 0x66, USER);
    char* mem = (char*)shm.VirtualAddr();
    fflush(stdout);
    for(char c = 'A'; c <= 'Z'; c++)
    {
        mem[c - 'A'] = c;
        sleep(1);
    }
    return 0;
}